import { RouteRecordRaw } from 'vue-router';

/*
 * 主数据管理
 * */
export const financeRouter: Array<RouteRecordRaw> = [
  {
    path: 'finance',
    name: 'FinanceWrapper',
    component: () => import(/* webpackChunkName: "Finance" */ '@/views/finance/FinanceWrapper.vue'),
    children: [
      {
        path: 'in',
        name: 'FinanceIn',
        component: () => import(/* webpackChunkName: "Finance" */ '@/views/finance/FinanceIn.vue')
      },
      {
        path: 'out',
        name: 'FinanceOut',
        component: () => import(/* webpackChunkName: "Finance" */ '@/views/finance/FinanceOut.vue')
      },
      {
        path: 'total',
        name: 'FinanceTotal',
        component: () =>
          import(/* webpackChunkName: "Finance" */ '@/views/finance/FinanceTotal.vue')
      }
    ]
  }
];
